import { useCookies } from '@vueuse/integrations/useCookies'
const En = "en"
const Namespace = "namespace"
const cookie = useCookies()

// 获取cluster
export function getEn(){
    return cookie.get(En)
}

// 设置cluster
export function setEn(en){
    return cookie.set(En,en)
}

// 清除cluster
export function removeEn(){
    return cookie.remove(En)
}


// 获取cluster_num
export function getNamespace(){
    return cookie.get(Namespace)
}

// 设置cluster
export function setNamespace(namespace){
    return cookie.set(Namespace,namespace)
}

// 清除cluster
export function removeNamespace(){
    return cookie.remove(Namespace)
}